const col = [
  {
    title: '库位ID',
    dataIndex: 'wlid',
  },
  {
    title: '仓库',
    dataIndex: 'wname',
  },
  {
    title: '库区',
    dataIndex: 'area',
  },
  {
    title: '楼层',
    dataIndex: 'floor',
  },
  {
    title: '排',
    dataIndex: 'therow',
  },
  {
    title: '列',
    dataIndex: 'thecolumn',
  },
  {
    title: '库位名称',
    dataIndex: 'thename',
  },
  {
    title: '库位码',
    dataIndex: 'thecode',
  },
  {
    title: '状态',
    dataIndex: 'thestatus',
    render: (item) => {
      if (Number(item) === 1) {
        return '有效';
      } else {
        return '无效';
      }
    },
  },
  {
    title: '所属公司',
    dataIndex: 'company',
  },
  {
    title: '备注',
    dataIndex: 'remark',
  },
];

exports.col = col;
